package com.hjm.project.actTransactionCompliance.compliance.service;

import java.util.List;
import java.util.Map;

import com.hjm.project.actTransactionCompliance.compliance.domain.ActTransactionCompliance;

/**
 * 交易额返现阶梯Service接口
 * 
 * @author LOVE
 * @date 2020-11-29
 */
public interface IActTransactionComplianceService 
{

    List<Map<String, Object>> getActTransactionCompliance(Map<String,String> map) throws Exception;

    /**
     * 查询交易额返现阶梯
     * 
     * @param id 交易额返现阶梯ID
     * @return 交易额返现阶梯
     */
    public ActTransactionCompliance selectActTransactionComplianceById(Long id);

    /**
     * 查询交易额返现阶梯列表
     * 
     * @param actTransactionCompliance 交易额返现阶梯
     * @return 交易额返现阶梯集合
     */
    public List<ActTransactionCompliance> selectActTransactionComplianceList(ActTransactionCompliance actTransactionCompliance);

    /**
     * 新增交易额返现阶梯
     * 
     * @param actTransactionCompliance 交易额返现阶梯
     * @return 结果
     */
    public int insertActTransactionCompliance(ActTransactionCompliance actTransactionCompliance);

    /**
     * 修改交易额返现阶梯
     * 
     * @param actTransactionCompliance 交易额返现阶梯
     * @return 结果
     */
    public int updateActTransactionCompliance(ActTransactionCompliance actTransactionCompliance);

    /**
     * 批量删除交易额返现阶梯
     * 
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteActTransactionComplianceByIds(String ids);

    /**
     * 删除交易额返现阶梯信息
     * 
     * @param id 交易额返现阶梯ID
     * @return 结果
     */
    public int deleteActTransactionComplianceById(Long id);


    public int getNextval() throws  Exception;


    boolean addActTransactionCompliance(Map<String,Object> map)throws Exception;


    boolean updateActTransactionCompliances(Map<String,Object> map)throws Exception;



}
